package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the ERETURN_DETAIL database table.
 * 
 */
@Entity
@Table(name="ERETURN_DETAIL")
@NamedQuery(name="EreturnDetail.findAll", query="SELECT e FROM EreturnDetail e")
public class EreturnDetail implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(initialValue=1, allocationSize=1, name="RDETAIL_ID_GENERATOR", sequenceName="SEQ2")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="RDETAIL_ID_GENERATOR")
	@Column(name="RDETAIL_ID")
	private long rdetailId;

	@Column(name="RDETAIL_COMP")
	private String rdetailComp;

	@Column(name="RDETAIL_NAME")
	private String rdetailName;

	@Column(name="RDETAIL_NUM")
	private BigDecimal rdetailNum;

	@Column(name="RDETAIL_REASON")
	private String rdetailReason;

	@Column(name="ERETURN_ID")
	private String ereturnId;

	public String getEreturnId() {
		return ereturnId;
	}

	public void setEreturnId(String ereturnId) {
		this.ereturnId = ereturnId;
	}

	public EreturnDetail() {
	}

	public long getRdetailId() {
		return this.rdetailId;
	}

	public void setRdetailId(long rdetailId) {
		this.rdetailId = rdetailId;
	}

	public String getRdetailComp() {
		return this.rdetailComp;
	}

	public void setRdetailComp(String rdetailComp) {
		this.rdetailComp = rdetailComp;
	}

	public String getRdetailName() {
		return this.rdetailName;
	}

	public void setRdetailName(String rdetailName) {
		this.rdetailName = rdetailName;
	}

	public BigDecimal getRdetailNum() {
		return this.rdetailNum;
	}

	public void setRdetailNum(BigDecimal rdetailNum) {
		this.rdetailNum = rdetailNum;
	}

	public String getRdetailReason() {
		return this.rdetailReason;
	}

	public void setRdetailReason(String rdetailReason) {
		this.rdetailReason = rdetailReason;
	}

}